package com.bdweb.service;

import com.bdweb.model.POWER;
import com.bdweb.model.WEAK;

import java.util.List;

public interface WeakService {
    List<WEAK> findAllWeak();
    WEAK findWeak(Integer id,  String mediaName,String ip, String port, boolean isopen  , String title,String opencode, String closecode);

    Integer addWeak(WEAK weak);

    Integer deleteWeak(Integer id);

    Integer updateWeak(Integer id, String mediaName,String ip ,String port, boolean isopen,String title,String opencode,String closecode);

}
